<div id="connection">
<?php 
if($connected) {
	?><table id="table_connection">
		<tr>
			<td><a href='<?php echo url_for('@homepage') ?>'><img id='home' src='/images/home.png' alt='' /></a></td>
			<td>Bonjour <a href='<?php echo url_for("personne/edit?id=".$personne_id) ?>'><?php echo $username ?></a> &nbsp;&nbsp; (<a href='<?php echo url_for("sf_guard_signout") ?>'>Déconnection</a>)</td>
		</tr>
	</table>
	<?php
}else {
	?><table id="table_connection">
		<tr>
			<td><a href='<?php echo url_for('@homepage') ?>'><img id='home' src='/images/home.png' alt='' /></a></td>
			<td><a href='<?php echo url_for("sf_guard_signin") ?>' >Connection</a>&nbsp;&nbsp; (<a href='<?php echo url_for("personne/new")?>' >Pas encore membre ?</a>)</td>
		</tr>
	</table>
<?php
}
?>
</div>
